<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  hello world
 
  <table border="1">
  <?php 
  foreach ($result as $key => $value) {
    // echo $key .'=>'. $value[0] .$value[1].'<br>';
  
  ?>
    <tr>
      <td>
        <?php echo  $value[0]?>
      </td>
      <td>
        <?php echo  $value[1]?>
      </td>
      <td>
        <?php echo  $value[2]?>
      </td>
      <td>
        <?php echo  $value[3]?>
      </td>
      <td>
        <?php echo  $value[4]?>
      </td>
      <td>
        <?php echo  $value[5]?>
      </td>
      <td>
        <?php echo  $value[6]?>
      </td>
    </tr>
    <?php 
  }
  ?>
  </table>
</body>
</html>